<template>
		<map @tap="getmap" style="width: 750rpx; height: 100vh;" scale="18" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
</template>

<script>
	// import map from '@/pagesA/components/map-Point/components/map-Point/map-Point.vue'
	import {
		mapState,
		mapGetters
	} from 'vuex'
	export default {
		// components: {
		// 	map
		// },
		computed: {
			...mapState(['member']),
		},
		data() {
			return {
				latitude: 39.909,
				longitude: 113.39742,
				covers: [{
					id:1,
					latitude: 39.909,
					longitude: 113.39742,
					iconPath:'/uni_modules/map-Point/static/point-a.png',
					width:101,
					heigh:101
				}]
			};
		},
		onLoad() {
			// uni.$u.http.post('/client/',{}).then(res=>{
			// 	console.log(res);
			// })
		},
		methods: {
			getmap(e) {
				if (this.type) return;
			},
			commitCheck(e) {
				console.log(e, 565);
				uni.$emit('commitCheck', e);
				uni.navigateBack({
					delta: 1
				});
			}
		},
	}
</script>

<style lang="scss" scoped>

</style>